package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author GRS
 * @since 2024/4/27 下午9:46
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class Orders implements Serializable
{
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    private String number;

    private Integer status;

    private Long userId;

    private Long addressBookId;

    private String orderTime;

    private String checkoutTime;

    private Integer payMethod;

    private BigDecimal amount;

    private String remark;

    private String phone;

    private String address;

    private String userName;

    private String consignee;
}